home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / sox / com / commerceone / CBL / n1_0 / CodedValue.mod < prev    next >
Encoding:
Extensible Markup Language  |  2000-07-03  |  1.6 KB  |  53 lines  |  [STrk/SCPL]

  1. <?xml version="1.0"?>
  2. <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
  3.  
  4. <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0" >
  5.  
  6. <intro>
  7. <p>Copyright Notice</p>
  8. <p>Common Business Library 2.0<br/>
  9. Copyright 1999 Commerce One, Inc.</p>
  10. <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
  11. and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
  12. and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p> 
  13. </intro>
  14.  
  15.     <!-- 
  16.         <![CDATA[
  17.         A CodedValue specifies a code number for a value.  The code
  18.         number is known to an Agency, and may also refer to a specific
  19.         CodeList maintained by that agency.
  20.           
  21.         In typical use, it is referenced in a document definition as:
  22.         
  23.             <element type="CodedValue">
  24.         
  25.         If the Agency that issued the part number is selected from
  26.         a list of standard agencies, the XML instance for this will
  27.         look like this:
  28.             <PartNum>
  29.                 <Agency AgencyID="AssignedBySupplier"/>
  30.                 <CodeList="CPUList">
  31.                 <Value>Intel PII</PartID>
  32.             </PartNum>
  33.         ]]>
  34.      -->
  35.  
  36.     <elementtype name="CodedValue">
  37.         <model>
  38.             <sequence>
  39.             <!-- The Agency that owns the CodeList.  -->
  40.                 <element type="Agency" />
  41.                 
  42.                 <!-- An optional CodeList specification.
  43.                     This is useful when the Agency maintains
  44.                     multiple CodeLists.  -->         
  45.                 <element type="string" name="CodeList" occurs="?" />
  46.  
  47.                 <!-- The Value.  -->        
  48.                 <element type="string" name="Value"/>
  49.             </sequence>
  50.         </model>
  51.     </elementtype>
  52. </schema>
  53.